#include "Density.h"

registerMooseObject("SquirrelApp", Density);

InputParameters
Density::validParams()
{
  InputParameters params = AuxKernel::validParams();

  params.addRequiredCoupledVar("density_log", "The variable representing the log of the density.");
  return params;
}

Density::Density(const InputParameters & parameters)
  : AuxKernel(parameters),

    _density_log(coupledValue("density_log"))
{
}

Real
Density::computeValue()
{
  return std::exp(_density_log[_qp]);
}
